package com.example.hangman;

import android.content.Intent;
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.view.View;
import android.widget.Button;

public class MainActivity extends Activity {

    Button btnContinue;
    Button btnNewGame;
    Button btnAbout;
    Button btnExit;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        btnContinue = (Button)findViewById(R.id.continue_button);
        btnNewGame = (Button)findViewById(R.id.new_button);
        btnAbout = (Button)findViewById(R.id.about_button);
        btnExit = (Button)findViewById(R.id.exit_button);
    }


    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        // Inflate the menu; this adds items to the action bar if it is present.
        getMenuInflater().inflate(R.menu.main, menu);
        return true;
    }


    public void onClick(View view) {

    }

    private void startGame(int i) {
        Intent intent = new Intent(MainActivity.this, com.example.hangman.GameActivity.class);
        intent.putExtra(GameActivity.KEY_DIFFICULTY, i);
        startActivity(intent);
    }
}
